package msg

type RefreshS2C struct {
	Code     int
	Msg      string
	GameData GameData
}

func RefreshOk(data GameData) RefreshS2C {
	return RefreshS2C{Code: 1, Msg: "ok", GameData: data}
}
func RefreshFail(msg string) RefreshS2C {
	return RefreshS2C{Code: 0, Msg: msg}
}
